﻿using Module.NetCore.Commonly.Views;
using Module.ExternalDevice.DuoJi.Views;
using Module.ExternalDevice.MCU.LED.Views;
using Module.ExternalDevice.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;

namespace Module.ExternalDevice
{
    public class ExternalDeviceModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            //var regionManager = containerProvider.Resolve<IRegionManager>();
            //regionManager.RegisterViewWithRegion("ContentRegion", typeof(PUC_ExternalDeviceShell));
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<PUC_ExternalDeviceShell>();
            containerRegistry.RegisterForNavigation<McuControlLed>();
            containerRegistry.RegisterForNavigation<PUC_OneDjTest>();
            containerRegistry.RegisterForNavigation<PUC_DJ_ZL_MS>();
            //containerRegistry.RegisterForNavigation<PUC_OpenCom>();
        }
    }
}